package com.xiaolong.mapper;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Mapper;

import com.xiaolong.model.User;

@Mapper
public interface UserMapper {
	User get(long id);
	long save(User u);
	long update(User u);
	long delete(long id);
	List<User> find(Map<String,Object> Map);
	User getByName(String userName);
}
